/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is Mozilla Communicator client code, released
 * March 31, 1998.
 *
 * The Initial Developer of the Original Code is
 * Netscape Communications Corporation.
 * Portions created by the Initial Developer are Copyright (C) 1998-1999
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the MPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 *
 * ***** END LICENSE BLOCK ***** */

/* ===== xpi_skins.css =====================================================
  == Styles that are specific to add-on extensions separate from Firefox
  == Intended to be included by global/global.css
  ======================================================================= */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url(http://www.w3.org/1999/xhtml);

/* ==== WebDeveloper addon ==== */

.webdeveloper-toolbar-button > .toolbarbutton-icon,
#webdeveloper-toolbar > toolbarbutton[type="menu"] > .toolbarbutton-icon {
  -moz-margin-end: 5px;
}

#webdeveloper-button {
  -moz-image-region: rect(0px 24px 24px 0px);
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/button_large_normal.png");
}

#webdeveloper-button:hover,
#webdeveloper-button:active {
  -moz-image-region: rect(0px 24px 24px 0px);
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/button_large.png");
}

toolbar[iconsize="small"] #webdeveloper-button {
  -moz-image-region: rect(0px 16px 16px 0px);
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/button_small_normal.png");
}

toolbar[iconsize="small"] #webdeveloper-button:hover,
toolbar[iconsize="small"] #webdeveloper-button:active {
  -moz-image-region: rect(0px 16px 16px 0px);
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/button_small.png");
}

#webdeveloper-toolbar > toolbarbutton,
.webdeveloper-toolbar-button {
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/toolbar.png");
}

#webdeveloper-disable-toolbar {
  -moz-image-region: rect(0px 16px 16px 0px);
}

#webdeveloper-disable-toolbar:hover {
  -moz-image-region: rect(16px 16px 32px 0px);
}

#webdeveloper-cookies-toolbar {
  -moz-image-region: rect(0px 32px 16px 16px);
}

#webdeveloper-cookies-toolbar:hover {
  -moz-image-region: rect(16px 32px 32px 16px);
}

#webdeveloper-css-toolbar {
  -moz-image-region: rect(0px 48px 16px 32px);
}

#webdeveloper-css-toolbar:hover {
  -moz-image-region: rect(16px 48px 32px 32px);
}

#webdeveloper-forms-toolbar {
  -moz-image-region: rect(0px 64px 16px 48px);
}

#webdeveloper-forms-toolbar:hover {
  -moz-image-region: rect(16px 64px 32px 48px);
}

#webdeveloper-images-toolbar {
  -moz-image-region: rect(0px 80px 16px 64px);
}

#webdeveloper-images-toolbar:hover {
  -moz-image-region: rect(16px 80px 32px 64px);
}

#webdeveloper-information-toolbar {
  -moz-image-region: rect(0px 96px 16px 80px);
}

#webdeveloper-information-toolbar:hover {
  -moz-image-region: rect(16px 96px 32px 80px);
}

#webdeveloper-miscellaneous-toolbar {
  -moz-image-region: rect(0px 112px 16px 96px);
}

#webdeveloper-miscellaneous-toolbar:hover {
  -moz-image-region: rect(16px 112px 32px 96px);
}

#webdeveloper-outline-toolbar {
  -moz-image-region: rect(0px 128px 16px 112px);
}

#webdeveloper-outline-toolbar:hover {
  -moz-image-region: rect(16px 128px 32px 112px);
}

#webdeveloper-resize-toolbar {
  -moz-image-region: rect(0px 144px 16px 128px);
}

#webdeveloper-resize-toolbar:hover {
  -moz-image-region: rect(16px 144px 32px 128px);
}

#webdeveloper-tools-toolbar {
  -moz-image-region: rect(0px 160px 16px 144px);
}

#webdeveloper-tools-toolbar:hover {
  -moz-image-region: rect(16px 160px 32px 144px);
}

#webdeveloper-view-source-toolbar {
  -moz-image-region: rect(0px 176px 16px 160px);
}

#webdeveloper-view-source-toolbar:hover {
  -moz-image-region: rect(16px 176px 32px 160px);
}

#webdeveloper-options-toolbar {
  -moz-image-region: rect(0px 192px 16px 176px);
}

#webdeveloper-options-toolbar:hover {
  -moz-image-region: rect(16px 192px 32px 176px);
}

#useragentswitcher-button {
  -moz-image-region: rect(0px 210px 16px 194px);
}

#useragentswitcher-button:hover {
  -moz-image-region: rect(16px 210px 32px 194px);
}

/* CSS status buttons */

#webdeveloper-css-statusbar {
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/statusbar.png") !important;
  -moz-image-region: rect(0px 48px 16px 32px) !important;
}

#webdeveloper-css-statusbar.error {
  -moz-image-region: rect(0px 80px 16px 64px) !important;
}

#webdeveloper-css-statusbar.valid {
  -moz-image-region: rect(0px 16px 16px 0px) !important;
}

/* Javascript status buttons */

#webdeveloper-javascript-statusbar {
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/statusbar.png") !important;
  -moz-image-region: rect(0px 48px 16px 32px) !important;
}

#webdeveloper-javascript-statusbar.disabled {
  -moz-image-region: rect(0px 32px 16px 16px) !important;
}

#webdeveloper-javascript-statusbar.valid {
  -moz-image-region: rect(0px 16px 16px 0px) !important;
}

#webdeveloper-javascript-statusbar.warning {
  -moz-image-region: rect(0px 64px 16px 48px) !important;
}

#webdeveloper-javascript-statusbar.error {
  -moz-image-region: rect(0px 80px 16px 64px) !important;
}

/* Render mode status buttons */

#webdeveloper-render-mode-statusbar {
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/rendermode.png") !important;
  -moz-image-region: rect(0px 16px 16px 0px) !important;
}

#webdeveloper-render-mode-statusbar.quirks {
  -moz-image-region: rect(0px 32px 16px 16px) !important;
}

/* Sidebar buttons (only old version) */

.webdeveloper-sidebar-button {
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/sidebar.png");
}

#webdeveloper-load-sidebar {
  -moz-image-region: rect(0px 16px 16px 0px);
}

#webdeveloper-save-sidebar {
  -moz-image-region: rect(0px 32px 16px 16px);
}

#webdeveloper-clear-sidebar {
  -moz-image-region: rect(0px 48px 16px 32px);
}

#webdeveloper-reset-sidebar {
  -moz-image-region: rect(0px 64px 16px 48px);
}

#webdeveloper-apply-sidebar {
  -moz-image-region: rect(0px 80px 16px 64px);
}

#webdeveloper-stick-sidebar {
  -moz-image-region: rect(0px 96px 16px 80px);
}

#webdeveloper-stick-sidebar.unstick {
  -moz-image-region: rect(0px 112px 16px 96px);
}

/* Dashboard buttons */

#webdeveloper-apply-css-dashboard {
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/dashboard.png") !important;
  -moz-image-region: rect(0px 112px 16px 96px) !important;
}

#webdeveloper-apply-css-dashboard:hover {
  -moz-image-region: rect(16px 112px 32px 96px) !important;
}

#webdeveloper-apply-html-dashboard {
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/dashboard.png") !important;
  -moz-image-region: rect(0px 128px 16px 112px) !important;
}

#webdeveloper-apply-html-dashboard:hover {
  -moz-image-region: rect(16px 128px 32px 112px) !important;
}

#webdeveloper-clear-dashboard {
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/dashboard.png") !important;
  -moz-image-region: rect(0px 80px 16px 64px) !important;
}

#webdeveloper-clear-dashboard:hover {
  -moz-image-region: rect(16px 80px 32px 64px) !important;
}

#webdeveloper-open-dashboard {
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/dashboard.png") !important;
  -moz-image-region: rect(0px 48px 16px 32px) !important;
}

#webdeveloper-open-dashboard:hover {
  -moz-image-region: rect(16px 48px 32px 32px) !important;
}

#webdeveloper-position-dashboard {
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/dashboard.png") !important;
  -moz-image-region: rect(0px 16px 16px 0px) !important;
}

#webdeveloper-position-dashboard:hover {
  -moz-image-region: rect(16px 16px 32px 0px) !important;
}

#webdeveloper-reset-dashboard {
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/dashboard.png") !important;
  -moz-image-region: rect(0px 96px 16px 80px) !important;
}

#webdeveloper-reset-dashboard:hover {
  -moz-image-region: rect(16px 96px 32px 80px) !important;
}

#webdeveloper-save-dashboard {
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/dashboard.png") !important;
  -moz-image-region: rect(0px 64px 16px 48px) !important;
}

#webdeveloper-save-dashboard:hover {
  -moz-image-region: rect(16px 64px 32px 48px) !important;
}

#webdeveloper-search-dashboard {
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/dashboard.png") !important;
  -moz-image-region: rect(0px 176px 16px 160px) !important;
}

#webdeveloper-search-dashboard:hover {
  -moz-image-region: rect(16px 176px 32px 160px) !important;
}

#webdeveloper-stick-dashboard {
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/dashboard.png") !important;
  -moz-image-region: rect(0px 144px 16px 128px) !important;
}

#webdeveloper-stick-dashboard:hover {
  -moz-image-region: rect(16px 144px 32px 128px) !important;
}

#webdeveloper-stick-dashboard.unstick {
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/dashboard.png") !important;
  -moz-image-region: rect(0px 160px 16px 144px) !important;
}

#webdeveloper-stick-dashboard.unstick:hover {
  -moz-image-region: rect(16px 160px 32px 144px) !important;
}

toolbarbutton.webdeveloper-close-toolbar
{
  list-style-image: url("chrome://xpi_skins/skin/webdeveloper/dashboard.png") !important;
  -moz-image-region: rect(0px 32px 16px 16px) !important;
}

toolbarbutton.webdeveloper-close-toolbar:hover
{
  -moz-image-region: rect(16px 32px 32px 16px) !important;
}


/* ==== Tab Mix Plus addon ==== */

/* Needed to change the border from bottom to top in the tabbar when using bottom bar */
tabbox[dir="rtl"] .tabbrowser-strip {
  border-bottom: none;
  border-top: 1px solid #666;
}

.tabbrowser-tabs[flowing="multibar"] .tabbrowser-tab {
  margin-bottom: 2px;
}

.tabbrowser-tabs[flowing="multibar"] {
  padding-bottom: 0px;
}

.tabbrowser-tabs[tabBarSpace="true"] #tabs-left-space,
.tabbrowser-tabs[tabBarSpace="true"] #tabs-right-space {
  width: 5px !important;
}

.tabbrowser-tabs[closeIcon="v3"] .tab-close-button {
  -moz-image-region: rect(0px, 16px, 16px, 0px) !important;
}

.tabbrowser-tabs[closeIcon="v3"] .tab-close-button:hover {
  -moz-image-region: rect(0px, 32px, 16px, 16px) !important;
}

.tabbrowser-tabs[closeIcon="v3"] .tab-close-button:active {
  -moz-image-region: rect(0px, 48px, 16px, 32px) !important;
}

.tabbrowser-tabs[closeIcon="v3"] .tabbrowser-tab[tabx="always"]:not([selected="true"]) .tab-close-button {
  -moz-image-region: rect(0px, 64px, 16px, 48px) !important;
}

.tabs-newbutton,
.tabbrowser-tabs:not([firefox2DefaultTheme]) .tabs-newbutton {
  -moz-appearance: none !important;
  border: none !important;
  padding: 4px 4px 0px 4px;
  list-style-image: url("chrome://global/skin/icons/newtab.png");
  -moz-image-region: rect(0px, 20px, 16px, 0px) !important;
}

.tabs-newbutton:hover,
.tabbrowser-tabs:not([firefox2DefaultTheme]) .tabs-newbutton:hover {
  -moz-image-region: rect(0px, 40px, 16px, 20px) !important;
}

.tabs-newbutton:active,
.tabbrowser-tabs:not([firefox2DefaultTheme]) .tabs-newbutton:active {
  -moz-image-region: rect(0px, 40px, 16px, 20px) !important;
}

.tab-body > .always-right {
  border: none;
  margin: 0px 0px 0px 0px;
}

.tab-body > .always-left {
  border: none;
  margin: 0px 1px 0px 1px !important;
}

.tabbrowser-tabs > tab .always-left {
  margin-bottom: 0px !important;
}

.tabs-scroll > .tabs-right {
  border: none !important;
}

.tabs-scroll-left-button,
.tabs-scroll-up {
  -moz-appearance: none !important;
  border: none !important;
  margin-top: 0px !important;
  margin-bottom: 2px !important;
  padding: 0px !important;
  width: 11px !important;
  -moz-margin-start: 5px !important;
  -moz-margin-end: 0px !important;
  list-style-image: url("chrome://global/skin/icons/tab-arrow-start.png") !important;
  -moz-image-region: rect(0, 11px, 11px, 0) !important;
}

.tabs-scroll-left-button[chromedir="rtl"],
.tabs-scroll-up[chromedir="rtl"] {
  list-style-image: url("chrome://global/skin/icons/tab-arrow-end.png") !important;
  -moz-margin-start: 0px !important;
}

.tabs-scroll-left-button[disabled="true"],
.tabs-scroll-up[disabled="true"] {
  -moz-image-region: rect(0, 33px, 11px, 22px) !important;
}

.tabs-scroll-left-button:not([disabled="true"]):hover,
.tabs-scroll-up:not([disabled="true"]):hover {
  -moz-image-region: rect(0, 22px, 11px, 11px) !important;
}

.tabs-scroll-left-button:not([disabled="true"]):active,
.tabs-scroll-up:not([disabled="true"]):active {
  -moz-image-region: rect(0, 44px, 11px, 33px) !important;
}

.tabs-scroll-left-button > .toolbarbutton-icon,
.tabs-scroll-up > .toolbarbutton-icon {
  margin: 6px 0px 0px 0px !important;
}

.tabs-scroll-right-button,
.tabs-scroll-down {
  -moz-appearance: none !important;
  border: none !important;
  margin-top: 0px !important;
  margin-bottom: 2px !important;
  padding: 0px !important;
  width: 11px !important;
  -moz-margin-start: 0px !important;
  -moz-margin-end: 0px !important;
  list-style-image: url("chrome://global/skin/icons/tab-arrow-end.png") !important;
  -moz-image-region: rect(0, 11px, 11px, 0) !important;
}

.tabs-scroll-right-button[chromedir="rtl"],
.tabs-scroll-down[chromedir="rtl"] {
  list-style-image: url("chrome://global/skin/icons/tab-arrow-start.png") !important;
  -moz-margin-end: 5px !important;
}

.tabs-scroll-right-button[disabled="true"],
.tabs-scroll-down[disabled="true"] {
  -moz-image-region: rect(0, 33px, 11px, 22px) !important;
}

.tabs-scroll-right-button:not([disabled="true"]):hover,
.tabs-scroll-down:not([disabled="true"]):hover {
  -moz-image-region: rect(0, 22px, 11px, 11px) !important;
}

.tabs-scroll-right-button:not([disabled="true"]):active,
.tabs-scroll-down:not([disabled="true"]):active {
  -moz-image-region: rect(0, 44px, 11px, 33px) !important;
}

.tabs-scroll-right-button > .toolbarbutton-icon,
.tabs-scroll-down > .toolbarbutton-icon {
  margin: 6px 0px 0px 0px !important;
}

#context_newTab .menu-iconic-icon {
  display: none;
}

#tabmix-tabs-closebutton-box {
  -moz-box-pack: center;
}

#tabmix-tabs-closebutton-box > #tabbar-close-button {
  margin: 4px 2px 0px 0px !important;
}

.tab-close-button > .toolbarbutton-icon,
.tabs-newbutton > .toolbarbutton-icon,
.tabs-scroll-left-button > .toolbarbutton-icon,
.tabs-scroll-right-button > .toolbarbutton-icon {
  border: 1px solid transparent;
}

.tabs-scroll-right-button > .toolbarbutton-icon {
  -moz-padding-start: 0px !important;
}

#tm-undoCloseList > .menu-iconic-left > image {
  display: none !important;
}

.tabbrowser-tab {
  min-height: 23px;
}

#dropIndicator-native > .radio-label-box > .radio-icon {
  max-height: 9px;
  max-width: 8px;
}

#dropIndicator-builtin > .radio-label-box > .radio-icon {
  max-height: 13px;
  max-width: 16px;
}

.tabbrowser-tabs:not([firefox31]):not([tabBarSpace=true]) .tabs-container[flowing=multibar],
.tabbrowser-tabs:not([firefox31]):not([tabBarSpace=true]) .tabs-container[flowing=scrollbutton]:not([scrollbutton-up=left]),
.tabbrowser-tabs:not([firefox31]):not([tabBarSpace=true]) .tabs-container[flowing=scrollbutton]:not([overflow="true"]) {
 -moz-padding-start: 0px !important;
}

.tabbrowser-arrowscrollbox:not([_side="left"]) {
  margin-left: 3px;
}

.tabbrowser-arrowscrollbox[flowing="multibar"] {
  margin-top: 2px;
}

.tabbrowser-arrowscrollbox:not([flowing="multibar"]) .scrollbutton-up,
.tabbrowser-arrowscrollbox:not([flowing="multibar"]) .scrollbutton-down {
  width: 11px;
}

.tabbrowser-arrowscrollbox[flowing="multibar"] .scrollbutton-up:not([disabled="true"]),
.tabbrowser-arrowscrollbox[flowing="multibar"] .scrollbutton-down:not([disabled="true"]) {
  -moz-appearance: none;
  margin: 0px !important;
  border: none !important;
}

.tabbrowser-arrowscrollbox[flowing="multibar"] .toolbarbutton-icon {
  margin: 0px;
}

.tabbrowser-arrowscrollbox[flowing="multibar"] .scrollbutton-up:not([disabled="true"]):hover .toolbarbutton-icon,
.tabbrowser-arrowscrollbox[flowing="multibar"] .scrollbutton-down:not([disabled="true"]):hover .toolbarbutton-icon {
  border: none !important;
}

#TMBox .groupbox-panels {
  -moz-appearance: none !important;
}

/* ==== Foxy Tunes addon ==== */

.foxytunes-statusbar-button {
  list-style-image: url("chrome://xpi_skins/skin/foxytunes/buttons.png") !important;
  opacity: 1 !important;
}

.foxytunes-statusbar-button:hover {
  list-style-image: url("chrome://xpi_skins/skin/foxytunes/buttonsHover.png") !important;
}

.foxytunes-statusbar-button:active {
  list-style-image: url("chrome://xpi_skins/skin/foxytunes/buttonsActive.png") !important;
}

.foxytunes-statusbar-button:active.nosunken {
  list-style-image: url("chrome://xpi_skins/skin/foxytunes/buttons.png") !important;
}

.foxytunes-statusbar-menubutton {
  list-style-image: url("chrome://xpi_skins/skin/foxytunes/buttons.png") !important;
}

.foxytunes-statusbar-menubutton:hover {
  list-style-image: url("chrome://xpi_skins/skin/foxytunes/buttonsHover.png") !important;
}

#foxytunes-previous-statusbar {
  -moz-image-region: rect(0px 18px 16px 0px);
}

#foxytunes-play-statusbar {
  -moz-image-region: rect(0px 36px 16px 18px);
}

#foxytunes-pause-statusbar {
  -moz-image-region: rect(0px 54px 16px 36px);
}

#foxytunes-stop-statusbar {
  -moz-image-region: rect(0px 72px 16px 54px);
}

#foxytunes-next-statusbar {
  -moz-image-region: rect(0px 90px 16px 72px);
}

#foxytunes-toggle-mute-statusbar {
  -moz-image-region: rect(0px 108px 16px 90px);
}

#foxytunes-play-file-statusbar {
  -moz-image-region: rect(0px 126px 16px 108px);
}

#foxytunes-show-player-statusbar {
  -moz-image-region: rect(0px 144px 16px 126px);
}

#foxytunes-track-info-statusbar {
  -moz-image-region: rect(0px 162px 16px 144px);
}

#foxytunes-main-menu-statusbar {
  -moz-image-region: rect(0px 180px 16px 162px);
  background: none !important;
  padding: 0px !important;
  margin: 0px !important;
  padding-left: 0px !important;
}

#foxytunes-hide-player-statusbar {
  -moz-image-region: rect(0px 198px 16px 180px);
}

#foxytunes-info-center-statusbar {
  -moz-image-region: rect(0px 216px 16px 198px);
}

#foxytunes-search-web-button > .toolbarbutton-icon {
  list-style-image: url("chrome://xpi_skins/skin/foxytunes/search.png") !important;
  -moz-image-region: rect(0px 12px 12px 0px);
}

#foxytunes-search-web-button:hover > .toolbarbutton-icon,
#foxytunes-search-web-button:active > .toolbarbutton-icon {
  list-style-image: url("chrome://xpi_skins/skin/foxytunes/search.png") !important;
  -moz-image-region: rect(0px 24px 12px 12px);
}

#foxytunes-goto-planet-statusbar {
  cursor: pointer;
  list-style-image: url("chrome://xpi_skins/skin/foxytunes/planet-go-button.png") !important;
  -moz-image-region: rect(0px 18px 16px 0px);
}

#foxytunes-goto-planet-statusbar:hover {
  -moz-image-region: rect(0px 36px 16px 18px);
}

#foxytunes-goto-planet-statusbar:active {
  -moz-image-region: rect(0px 54px 16px 36px);
}

.planet-icon {
  list-style-image: url("chrome://xpi_skins/skin/foxytunes/planet-go-icon.png") !important;
}

#foxytunes-goto-planet-track-title {
  list-style-image: url("chrome://xpi_skins/skin/foxytunes/planet-go-button.png") !important;
  -moz-image-region: rect(0px 36px 16px 18px);
  height: 17px;
  cursor: pointer;
}

#foxytunes-goto-planet-track-title > .toolbarbutton-icon {
  margin: 0px !important;
}

#explore-button {
  list-style-image: url("chrome://xpi_skins/skin/foxytunes/planet-go-icon.png") !important;
}


/* ==== Tab Scope addon ==== */

/* Back */
.tabscope-back {
  list-style-image: url("chrome://xpi_skins/skin/tabscope/toolbaricons.png");
  -moz-image-region: rect(0px 16px 16px 0px);
  margin: 1px;
}

.tabscope-back:hover,
.tabscope-back:active {
  -moz-image-region: rect(16px 16px 32px 0px);
}

.tabscope-back[disabled="true"] {
  -moz-image-region: rect(32px 16px 48px 0px) !important;
}

/* Forward */
.tabscope-forward {
  list-style-image: url("chrome://xpi_skins/skin/tabscope/toolbaricons.png");
  -moz-image-region: rect(0px 32px 16px 16px);
  margin: 1px;
}

.tabscope-forward:hover,
.tabscope-forward:active {
  -moz-image-region: rect(16px 32px 32px 16px);
}

.tabscope-forward[disabled="true"] {
  -moz-image-region: rect(32px 32px 48px 16px) !important;
}

/* Reload */
.tabscope-reload {
  list-style-image: url("chrome://xpi_skins/skin/tabscope/toolbaricons.png");
  -moz-image-region: rect(0px 48px 16px 32px);
  margin: 1px;
}

.tabscope-reload:hover,
.tabscope-reload:active {
  -moz-image-region: rect(16px 48px 32px 32px);
}

.tabscope-reload[disabled="true"] {
  -moz-image-region: rect(32px 48px 48px 32px) !important;
}

/* Stop */
.tabscope-stop {
  list-style-image: url("chrome://xpi_skins/skin/tabscope/toolbaricons.png");
  -moz-image-region: rect(0px 64px 16px 48px);
  margin: 1px;
}

.tabscope-stop:hover,
.tabscope-stop:active {
  -moz-image-region: rect(16px 64px 32px 48px);
}

.tabscope-stop[disabled="true"] {
  -moz-image-region: rect(32px 64px 48px 48px) !important;
}

/* Close */
.tabscope-close {
  list-style-image: url("chrome://xpi_skins/skin/tabscope/toolbaricons.png");
  -moz-image-region: rect(0px 80px 16px 64px);
  margin: 1px;
}

.tabscope-close:hover,
.tabscope-close:active {
  -moz-image-region: rect(16px 80px 32px 64px);
}

.tabscope-close[disabled="true"] {
  -moz-image-region: rect(32px 80px 48px 64px) !important;
}

/* Zoom */
.tabscope-zoom {
  list-style-image: url("chrome://xpi_skins/skin/tabscope/toolbaricons.png");
  -moz-image-region: rect(0px 96px 16px 80px);
  margin: 1px;
}

.tabscope-zoom:hover,
.tabscope-zoom:active {
  -moz-image-region: rect(16px 96px 32px 80px);
}

.tabscope-zoom[disabled="true"] {
  -moz-image-region: rect(32px 96px 48px 80px) !important;
}


/* ==== Stylish addon ==== */
#userstyles-view
{
  opacity: 0.7 !important;
}

#userstyles-view:hover,
#userstyles-view[selected="true"]
{
  opacity: 1.0 !important;
}

#copy-style-info image
{
  display: none !important;
}

#styles
{
  background-color: #FFF !important;
  border: 1px solid #666 !important;
  color: #000 !important;
  -moz-border-top-colors: #666 !important;
  -moz-border-right-colors: #666 !important;
  -moz-border-bottom-colors: #666 !important;
  -moz-border-left-colors: #666 !important;
}

#styles hbox[anonid="heading"]
{
  background-color: #CCC !important;
}

#styles:focus richlistitem[selected="true"]
{
  background-color: #DDD !important;
  color: #000 !important;
}


/* ==== Whitehart about dialog button fixes ==== */

#modifiedAboutWhitehart #extensionHomepage { color: #58C; }
#modifiedAboutWhitehart #extensionHomepage:hover { color: #36A; }


/* ==== Fix for download dialog ==== */

#normalBox { visibility:visible!important; }


/* ==== Download Panel addon ==== */

#download-panel-box {
	margin: 4px;
}


/* ==== Form History addon ==== */

#formhistoryWindow > tabbox {
	border-bottom: none !important;
}


/* ==== Noscript addon ==== */

.noscript-menu, .noscript-menu menupopup {
  background-color: #EEE !important;
  color: #FFF !important;
  border: 1px solid #444 !important;
}

menupopup[sticky="true"] {
  border: 1px solid #444 !important;
}

menupopup[sticky="true"][disabled="true"] {
  border: 1px solid #CCC !important;
  color: #999 !important;
}


/* ==== Personal Menu addon ==== */

toolbar[iconsize="small"] #cm-menu,
toolbar[iconsize="small"] #cm-menu[chromedir="rtl"] {
  list-style-image: url("chrome://xpi_skins/skin/personal/menu-small.png") !important;
}

toolbar[iconsize="small"] #cm-menu:hover,
toolbar[iconsize="small"] #cm-menu[chromedir="rtl"]:hover {
  list-style-image: url("chrome://xpi_skins/skin/personal/menu-small-hov.png") !important;
}

#cm-menu,
#cm-menu[chromedir="rtl"] {
  list-style-image: url("chrome://xpi_skins/skin/personal/menu-big.png") !important;
}

#cm-menu:hover,
#cm-menu[chromedir="rtl"]:hover {
  list-style-image: url("chrome://xpi_skins/skin/personal/menu-big-hov.png") !important;
}

#CMCE-setting .notice {
  list-style-image: url("chrome://global/skin/icons/error-16.png") !important;
}

#CMCE-setting .info {
  list-style-image: url("chrome://global/skin/icons/question-16.png") !important;
}

#CMCE-setting .warn.enable-warning {
  list-style-image: url("chrome://global/skin/icons/warning-16.png") !important;
}

#CMCE-setting .listbox-splitter {
  background: url("chrome://xpi_skins/skin/personal/splitter.png") !important;
}

#CMCE-setting #button-box toolbarbutton {
  list-style-image: url("chrome://xpi_skins/skin/personal/command.png") !important;
}

#CMCE-setting #up-button:not([disabled="true"]):hover {
  -moz-image-region: rect(48px 24px 72px 0) !important;
}

#CMCE-setting #down-button:not([disabled="true"]):hover {
  -moz-image-region: rect(48px 48px 72px 24px);
}

#CMCE-setting #add-button:not([disabled="true"]):hover {
  -moz-image-region: rect(48px 72px 72px 48px);
}

#CMCE-setting #remove-button:not([disabled="true"]):hover {
  -moz-image-region: rect(48px 96px 72px 72px);
}

#CMCE-setting #in-button:not([disabled="true"]):hover {
  -moz-image-region: rect(48px 144px 72px 120px);
}

#CMCE-setting #out-button:not([disabled="true"]):hover {
  -moz-image-region: rect(48px 168px 72px 144px);
}

#CMCE-setting #rename-button:not([disabled="true"]):hover,
#CMCE-setting #customize-button:not([disabled="true"]):hover {
  -moz-image-region: rect(48px 192px 72px 168px);
}

#CMCE-setting #im-export-button:not([disabled="true"]):hover {
  -moz-image-region: rect(48px 120px 72px 96px);
}


/* ==== Personal Menu addon ==== */

#tbtnInspect {
  list-style-image: url("chrome://xpi_skins/skin/inspect/inspect.png") !important;
  -moz-image-region: rect(0px 30px 30px 0px);
}

#tbtnInspect:hover {
  list-style-image: url("chrome://xpi_skins/skin/inspect/inspect.png") !important;
  -moz-image-region: rect(0px 60px 30px 30px);
}

[iconsize="small"] #tbtnInspect {
  list-style-image: url("chrome://xpi_skins/skin/inspect/inspect-small.png") !important;
  -moz-image-region: rect(0px 20px 20px 0px);
}

[iconsize="small"] #tbtnInspect:hover {
  list-style-image: url("chrome://xpi_skins/skin/inspect/inspect-small.png") !important;
  -moz-image-region: rect(0px 40px 20px 20px);
}


/* ==== Form History addon ==== */

#showadvancedsearch {
  list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif") !important;
  min-width: 5px !important;
}

#showsimplesearch {
  list-style-image: url("chrome://global/skin/arrow/arrow-up.gif") !important;
  min-width: 5px !important;
}
